
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>留言板-学并思</title>
    <link href="./template/css/bootstrap.min.css" rel="stylesheet">
    <link href="./template/css/bootstrap-theme.min.css" rel="stylesheet">
    
  </head>

  <body>

    <!-- Fixed navbar -->
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">留言板</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">留言板</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#about">About</a></li>
            <li><a href="#contact">Contact</a></li>
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
              <ul class="dropdown-menu">
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li><a href="#">Something else here</a></li>
                <li role="separator" class="divider"></li>
                <li class="dropdown-header">Nav header</li>
                <li><a href="#">Separated link</a></li>
                <li><a href="#">One more separated link</a></li>
              </ul>
            </li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>

    <div class="container theme-showcase" role="main">	
    	<style type="text/css">
    		
    		.action{
    			position: absolute;
    			top: 10px;
    			right: 20px;
    			color: red;
    		}
    		.action .glyphicon-pencil{
    			color: #2F70A8;
    			margin-right: 10px;
    		}
    		.action .glyphicon-remove{
    			color: red;
    		}
    	</style>

      <div class="page-header">
        <h1></h1>
      </div>
      <div class="row">
        
      </div>
      <div class="row">
      	<form action="./save.php?k=<?php echo $k; ?>" method="post" class="form-inline">
		  <div class="form-group">
		    <label for="exampleInputName2">用户名：</label>
		    <input type="text" class="form-control" id="exampleInputName2" value="<?php echo $data['nickname'] ?>" name="nickname" placeholder="小明">

        <input type="hidden" value="<?php echo $data['ctime'] ?>" name="ctime">
		  </div>
		  
		  <button type="submit" class="btn btn-primary">保存</button>

		  <textarea name="content" style="width: 100%;margin-top: 10px;" class="form-control" rows="3"><?php echo $data['content'] ?></textarea>
		</form>
      </div>
    </div>
  </body>
</html>
